home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / purplelight.gsh < prev    next >
Text File  |  2000-09-09  |  1KB  |  53 lines

  1. // defines purple light
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_purplelight_GSH
  8. #define INCLUDED_purplelight_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. pgenerator Pgn_purple
  13. {
  14.     type corona
  15.     life infinite
  16.     rate 1            // exactly the same as the decay rate hence the effect !
  17.     
  18.     // stream direction
  19.     x    0
  20.     y    0
  21.     z    0
  22.     
  23.     // particle colour
  24.     red   0.5
  25.     green 0
  26.     blue  0.5
  27.     alpha 1
  28. }
  29.  
  30. light Lit_purple
  31. {
  32.     red             0.2
  33.     green           0
  34.     blue            0.2
  35.     specular red    0.2
  36.     specular green    0
  37.     specular blue    0.2
  38.     range           10
  39. }
  40.  
  41. role Rol_Purplelight : Rol_DefaultGarbage
  42. {
  43.     shape Pgn_purple
  44.     light Lit_purple
  45.     moves on lifts yes
  46.     identifier    "purplelight"
  47.  
  48. }
  49.  
  50. ////////////////////////////////////////////////////////////////////////////////////
  51.  
  52. // end wrapper - for preventing multiple or recursive inclusions
  53. #endif // !INCLUDED_purplelight_GSH